home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 19 / tpnet.zip / READ.ME < prev    next >
Text File  |  1987-07-02  |  2KB  |  43 lines

  1.  
  2. This directory contains a library, written in Assembly, 
  3. that allows Netware function calls to be performed from Turbo Pascal  
  4. programs. It also contains two examples of how this library can be  
  5. accessed from Turbo Pascal code.  
  6.     
  7. The file "PASNETA.ASM" contains assembly code that performs the  
  8. NetWare function calls. "SAMPLE1.COM" and "SAMPLE2.COM" are two
  9. examples of how these assembly routines may be accessed. 
  10.  
  11. The file "SAMPLE1.COM" can be run by typing SAMPLE1 at the command
  12. line. This program relies on the function definitions found in "PASCAL.PAS".
  13. Therefore, the declaration:
  14. " function xtndopn(var mode,handle:integer;var filename:str):integer;
  15.   external 'pasneta'; " 
  16. must appear in the pascal program. 
  17.  
  18.  
  19. The " PASCAL.PAS " file, can also be inserted into a pascal program to  
  20. declare all the "external functions" to be used in the pascal program.   
  21. This was used in the "SAMPLE2.PAS" program. This method requires the  
  22. declaration :
  23.   " function xtndopn(var mode,handle:integer;var filename:str):integer;
  24.     external   'PASNETA.COM'; " 
  25. to appear in the pascal program. 
  26.  
  27. If it becomes necessary to recompile the PASNETA.ASM file, the following
  28. steps can be used. 
  29.  
  30.         1.  First assemble the .ASM file. ie - masm pasneta; 
  31.         2.  Next, link the resulting .OBJ to make a .EXE file. 
  32.             (A .EXE file will be produced even if the message (warning no
  33.                 stack segment) appears.) 
  34.         3.  Finally, to make the .EXE a .BIN or .COM use the DOS 
  35.             command line function EXE2BIN.   
  36.             ie.- EXE2BIN pasneta.exe pasneta.bin  or 
  37.                - EXE2BIN pasneta.exe pasneta.com 
  38.             (NOTE - A .COM or .BIN file is required to link into a turbo
  39.                 pascal program.) 
  40.  
  41.  
  42. Any questions can be submitted to the programming bulletin board on
  43. NetWire.